package cn.iune.erp.accounting;

import java.text.ParseException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

import cn.iune.common.base.IBizDataIface;

public interface IPeriodCaptionService extends IBizDataIface {

	PeriodCaption getByID(String fID);
	
	PeriodCaption update(PeriodCaption obj);
	
	PeriodCaption getByNo(String yearNo, String periodNo, String captionNo, String enterpriseNo);

	List<PeriodCaption> getByPeriod(String yearNo, String periodNo, String enterpriseNo);

	int deleteByPeriod(String yearNo, String periodNo, String enterpriseNo);

	void insert(PeriodCaption obj);

	void delete(String fID);

	JSONObject save(JSONObject object) throws ParseException;

	int initSubmit(String yearNo, String periodNo, String enterpriseNo);

	PeriodCaption calculate(PeriodCaption obj);

	int initActive(String yearNo, String periodNo, String enterpriseNo);

	JSONObject initTrial(String yearNo, String periodNo, String enterpriseNo);

	PeriodCaption insert(String yearNo, String periodNo, String captionID, String captionNo, String captionName,
			String captionFullName, String billType, String billTypeName, int dob, String currency,
			String currencyLabel, int nodeLevel, String nodeKind, String sortNo, String fParent, String userId,
			String enterpriseNo, String enterpriseName);

	int next(String yearNo, String periodNo, String yearNoNext, String periodNoNext, String userId,
			String enterpriseNo);



}